//
//  XMLReadCaretakers.h
//  Seizure
//
//  Created by student on 3/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "LinkedAccount.h"

@interface XMLReadCaretakers : NSObject <NSXMLParserDelegate>

@property (strong) NSMutableString *currentElementValue;
@property (strong) NSMutableArray *allCaretakers;
@property (strong) LinkedAccount *caretaker;

- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI
 qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict; 

- (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI
 qualifiedName:(NSString *)qName;

- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string;

- (NSMutableString *)xml;

@end
